﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LevelEditor
{
    public partial class CreationForm : Form
    {
        EditorForm form;

        public CreationForm(EditorForm form)
        {
            InitializeComponent();
            this.form = form;
        }

        private void submitButton_Click(object sender, EventArgs e)
        {
            String[] info = infoBox.Text.Split(':');
            foreach(String s in info)
            {
                form.tempListString.Add(s);
            }
            this.Close();
        }
    }
}
